package com.dtstack.rocketmq.domain.response.shopify;

import java.io.Serializable;

/**
 * OrderResponse
 *
 * <p>
 * </p>
 *
 * @author chuanbai
 * @date 2024/10/24
 */

public class ThrottleStatus implements Serializable {
    private double maximumAvailable;
    private int currentlyAvailable;
    private double restoreRate;

    // getters and setters


    public double getMaximumAvailable() {
        return maximumAvailable;
    }

    public void setMaximumAvailable(double maximumAvailable) {
        this.maximumAvailable = maximumAvailable;
    }

    public int getCurrentlyAvailable() {
        return currentlyAvailable;
    }

    public void setCurrentlyAvailable(int currentlyAvailable) {
        this.currentlyAvailable = currentlyAvailable;
    }

    public double getRestoreRate() {
        return restoreRate;
    }

    public void setRestoreRate(double restoreRate) {
        this.restoreRate = restoreRate;
    }

    @Override
    public String toString() {
        return "ThrottleStatus{" +
                "maximumAvailable=" + maximumAvailable +
                ", currentlyAvailable=" + currentlyAvailable +
                ", restoreRate=" + restoreRate +
                '}';
    }
}